package com.whfc.emp.service;


import com.whfc.common.exception.BizException;
import com.whfc.common.result.PageData;
import com.whfc.emp.dto.AppExamPaperDTO;
import com.whfc.emp.dto.AppExamPaperDTO;
import com.whfc.emp.dto.AppExamPaperQuestionDTO;
import com.whfc.emp.param.AppExamPaperAddParam;
import com.whfc.emp.param.AppExamPaperEditParam;
import com.whfc.emp.param.AppExamPaperListParam;
import com.whfc.emp.param.AppExamPaperQuestionListParam;

/**
 */
public interface AppExamPaperService {

    /**
     * 培训管理-分类-列表
     *
     * @param request
     * @return
     * @throws BizException
     */
    PageData<AppExamPaperDTO> list(AppExamPaperListParam request) throws BizException;

    /**
     * 培训管理-新增分类
     *
     * @param request
     * @throws BizException
     */
    void add(AppExamPaperAddParam request) throws BizException;

    /**
     * 培训管理-编辑分类
     *
     * @param request
     * @throws BizException
     */
    void edit(AppExamPaperEditParam request) throws BizException;

    /**
     * 培训管理-删除分类
     *
     * @param id
     * @throws BizException
     */
    void del(Integer id) throws BizException;

    /**
     * 培训管理-获取培训列表
     *
     * @param param
     * @return
     */
    PageData<AppExamPaperDTO> getExamPaperList(AppExamPaperListParam param);

    /**
     * 培训管理-获取培训题目列表
     *
     * @param reqParam
     * @return
     */
    PageData<AppExamPaperQuestionDTO> examQuestionList(AppExamPaperQuestionListParam reqParam);
}
